package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
	void insert(Department department);
	void delete(Long id);
	void update(Department department);
	Department select(Long id);
	List<Department> list();

	PageInfo<Department> query(QueryObject qo);

}
